package com.test.design.example1.dto;

/**
 * @program: design-patternz
 * @description: 汽车实体类
 * @author: <a href="mailto:zhengjiaming@gtmap.cn">zhengjiaming</a>
 * @create: 2024-12-26 09:26
 **/
public class Car {
    private String ys; //颜色
    private String xh; //型号
    private String jg; //价格

    public String getYs() {
        return ys;
    }

    public void setYs(String ys) {
        this.ys = ys;
    }

    public String getXh() {
        return xh;
    }

    public void setXh(String xh) {
        this.xh = xh;
    }

    public String getJg() {
        return jg;
    }

    public void setJg(String jg) {
        this.jg = jg;
    }

    @Override
    public String toString() {
        return "Car{" +
                "ys='" + ys + '\'' +
                ", xh='" + xh + '\'' +
                ", jg='" + jg + '\'' +
                '}';
    }
}
